#pragma  once
#include "ErrorType.h"
#include "loki/Singleton.h"

class CLogService
{
public:
	virtual ~CLogService();

	bool ReportError(TSSubSystem thetype,int errcode,const  std::string& msg);
	bool ReportError(TSSubSystem thetype,int errcode,const std::wstring& msg);
	//bool ReportMsg(std::string)
private:
	
		

};

typedef Loki::SingletonHolder<CLogService> CErrorServiceHolder;
//#define CErrorServiceHolder::Instance()  CErrorServiceHolder

